package com.abstract04;

/**
 * @ClassName Test
 * @Description TODO
 * @Author hp
 * @Date 2021/6/16 10:35
 * @Version 1.0
 **/
public class Test {
    public static void main(String[] args) {
        Company javaEE = new JavaEE();
        javaEE.setName("霸霸");
        javaEE.setId("开发部001");

        javaEE.work();

        Company finance = new Finance();
        finance.setName("小爽");
        finance.setId("财务部001");

        finance.work();
    }
}
